#include <QCoreApplication>
#include <iostream>
#include <math.h>
using namespace std;
int main()
{
   float a,b,c;

cout<<"vvedine a: ";
cin<<a;
cout<<"vvedite b:";
cin<<b;
c=sqrt(a*a^2+b^2)<<c<<endl;
cout<<"P=a+b+c="<<a+b+c<<endl;
return 0;
}
